package com.bedrock.project.enums;

/**
 * 接口响应状态及提示
 * 
 * @author bedrock
 */
public enum ResCode
{


    $200(200,"服务调用正常"),
//    $4000(4000, "服务调用正常"),
    $4001(4001, "服务调用异常"),


    $4089(4089, "日期格式错误");

    private final Integer code;
    private final String info;

    ResCode(Integer code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
